package com.xiaoshuidi.cloud.module.finance.controller.admin.invoice.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class FinanceInvoiceCompanyApplyReqVO {
    @Schema(description = "企业id")
    @NotNull(message = "companyId不能为空")
    private Long companyId;
    @NotNull(message = "门店id不能为空")
    @Schema(description = "门店id")
    private Long apartmentId;
    @NotNull(message = "税号配置id不能为空")
    @Schema(description = "税号配置id")
    private Integer invoiceConfigId;
    @Schema(description = "费用类型1租金2其它")
    @NotNull(message = "invoiceFeeType不能为空")
    private Integer invoiceFeeType;
    @Schema(description = "账单id")
    private List<Long> feeDetailIds;
    @Schema(description = "发票类型1普通发票2增值税专用发票")
    private Integer invoiceType;
    @Schema(description = "企业名称")
    @NotEmpty(message = "企业名称不能为空")
    private String companyName;
    @Schema(description = "企业税号")
    @NotEmpty(message = "企业税号不能为空")
    private String taxpayerId;
    @Schema(description = "企业地址")
    private String address;
    @Schema(description = "企业联系电话")
    private String phone;
    @Schema(description = "企业开户行")
    private String bank;
    @Schema(description = "企业银行账号")
    private String bankAccount;
}
